package com.example.spring_blog.pojo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserInfoResponse {
    private Integer id;
    private String userName;
    private String githubUrl;
    private String avatarPath;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    // 发布的文章数量
    private Integer articleNums;
}
